home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1660 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.5 KB

  1. Subject: Re: MiNT 1.10 re-sync
  2. Date: Fri, 17 Jun 94 23:22:30 CDT
  3. From: Juergen Lock <nox@jelal.north.de>
  4. In-Reply-To: <9406171441.AA01870@knuth.cba.csuohio.edu>; from "Jason Baker" at Jun 17, 94 10:41 am
  5. Message-Id: <9406172122.AA00543@jelal.north.de>
  6.  
  7. Jason Baker writes:
  8.  
  9. > > >Michael Hohmuth writes:
  10. > > >
  11. > > >> > 6. and now the sticky text/fragmentation megapatch...  does a few things:
  12. > > >> 
  13. > > >> > . execv..() frees the old process memory before allocating the new ones,
  14. > > >> > and so no longer leaves holes in your memory map.  this took a few
  15. > > >> > ugly hacks but i think its worth it :)  the only visible change should
  16. > > >> > be when exec'ing a damaged binary the process gets killed, fixing that
  17. > > >> > would require reading executables twice.
  18. > > >> 
  19. > > >> Well, that's fine with me, but I don't know whether this "non-posixish"
  20. > > >> behaviour is tolerable by all others?  I guess so... as it effectively
  21. > > >> makes "damaged executable" equivalent to "executable crashed immediately
  22. > > >> after it has been run".
  23. > > 
  24. >     I don't know how shells actually handle interpreter files, but
  25. > one way would be to do an exec..(), and if it has an invalid format
  26. > check if it should be piped to an interpreter.
  27.  
  28.  that still works, the header is still checked first (scripts have
  29. a different magic).
  30. >     Jason
  31.  cheers
  32.     Juergen
  33. -- 
  34. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  35.                                 ...ohne Gewehr
  36. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  37.